package cn.dglydrpy.eshop.website.learn;

import cn.dglydrpy.eshop.website.learn.MyProfile;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Slf4j
@Configuration
@Profile(value = "prod")
public class MyProd implements MyProfile {

    @Override
    public String show() {
        log.info("###执行myProd.show()###");
        return "myProd";
    }
}
